Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

chat-core-aws-connect: add resetSession #39

Merged
merged 6 commits into from
Jul 9, 2024
Merged

Conversation

popestr
Copy link
Collaborator

@popestr popestr commented Jul 9, 2024

Adds the resetSession method to ChatCoreAwsConnect, for use by ChatHeadless when the conversation is reset in the middle of an agent session.

Also implicitly calls disconnectParticipant if the session is not already undefined.

TEST=auto

Added unit tests in chat-core-aws-connect and chat-headless, saw expected results. Added a button to browser tests to reset session, saw disconnect occur.

Adds the resetSession method to ChatCoreAwsConnect, for use
by ChatHeadless when the conversation is reset in the middle of
an agent session.

Also implicitly calls disconnectParticipant if the session
is not already undefined.

TEST=auto

Added unit tests in chat-core-aws-connect and chat-headless,
saw expected results.
@popestr popestr requested a review from a team as a code owner July 9, 2024 16:54
Copy link
Collaborator

@yen-tt yen-tt left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

as part of this, you may want to bump the version in package.json. I think we can release this as v0.1.0

@popestr popestr merged commit 45b1bb1 into main Jul 9, 2024
8 checks passed
@popestr popestr deleted the dev/add-reset-session branch July 9, 2024 23:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants